import { Component } from "react";
import { Counter } from "./components";
import { CounterStoreContext, createCounterStore } from "./store";

export default class App extends Component {
  render() {
    return (
      <div>
        <CounterStoreContext.Provider value={createCounterStore()}>
          <Counter />
        </CounterStoreContext.Provider>
      </div>
    );
  }
}
